package top.wilbert.collegelink.forum.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import top.wilbert.collegelink.common.utils.PageUtils;
import top.wilbert.collegelink.forum.entity.ThumbEntity;
import top.wilbert.collegelink.forum.vo.CommentResponseVo;
import top.wilbert.collegelink.forum.vo.TalkResponseVo;

import java.util.ArrayList;
import java.util.Map;

/**
 * @author Augus
 * @email 2531496343@qq.com
 * @date 2023-03-06 19:20:33
 */
public interface ThumbService extends IService<ThumbEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils listTalkInfo(IPage<TalkResponseVo> page, ArrayList<Long> targetIds);

    Boolean isLike(Long targetId, Integer targetType, Long userId);

    Boolean isCollect(Long targetId, Integer targetType, Long userId);
}

